package com.chenfeng.ego.portal.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.chenfeng.ego.portal.service.HttpClientService;
import com.chenfeng.ego.portal.service.impl.HttpClientServiceImpl;

@Controller
public class WelecomPage
{
	@Resource
	HttpClientService clientService;
	@RequestMapping("/")
	public String index(Model model)
	{
		
		model.addAttribute("ad1",this.clientService.showBigPic());
		return "index";
	}

}
